package cn.dakaqi.pingan.entities;

import java.io.Serializable;

/**
 * Created by chunyang on 2016/2/17.
 */
public class ActivateResult implements Serializable
{
    private static final long serialVersionUID = -814612849239901571L;
    private String state;
    private String returnUrl;
    private String errorCode;
    private String errorMessage;
    private String cardState;

    public ActivateResult(String state, String returnUrl, String errorCode, String errorMessage,String cardState)
    {
        this.state = state;
        this.returnUrl = returnUrl;
        this.errorCode = errorCode;
        this.errorMessage = errorMessage;
        this.cardState = cardState;
    }

    public ActivateResult()
    {
    }

    public String getCardState()
    {
        return cardState;
    }

    public void setCardState(String cardState)
    {
        this.cardState = cardState;
    }

    public String getState()
    {
        return state;
    }

    public void setState(String state)
    {
        this.state = state;
    }

    public String getReturnUrl()
    {
        return returnUrl;
    }

    public void setReturnUrl(String returnUrl)
    {
        this.returnUrl = returnUrl;
    }

    public String getErrorCode()
    {
        return errorCode;
    }

    public void setErrorCode(String errorCode)
    {
        this.errorCode = errorCode;
    }

    public String getErrorMessage()
    {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage)
    {
        this.errorMessage = errorMessage;
    }

    @Override
    public String toString()
    {
        return "ActivateResult{" +
                "state='" + state + '\'' +
                ", returnUrl='" + returnUrl + '\'' +
                ", errorCode='" + errorCode + '\'' +
                ", errorMessage='" + errorMessage + '\'' +
                ", cardState='" + cardState + '\'' +
                '}';
    }
}
